/*-------- imports ----------*/

@font-face {
  font-family: Playfair-Bold;
  src: url(Fonts/Playfair/static/PlayfairDisplay-Bold.ttf);
}
@font-face {
  font-family: Playfair-Regular;
  src: url(Fonts/Playfair/static/PlayfairDisplay-Regular.ttf);
}
@font-face {
  font-family: Libre-Bold;
  src: url(Fonts/Libre_Bodoni/static/LibreBodoni-Bold.ttf);
}
@font-face {
  font-family: Libre-Regular;
  src: url(Fonts/Libre_Bodoni/static/LibreBodoni-Regular.ttf);
}
@font-face {
  font-family: Playfair-Italic;
  src: url(Fonts/Playfair/static/PlayfairDisplay-Italic.ttf);
}

:root{
  --ff-PlayfairBold: 'Playfair-Bold';
  --ff-LibreBold: 'Libre-Bold';
  --ff-PlayfairItalic: 'Playfair-Italic';
  --ff-TitleFont: 'Playfair-Regular';
  --ff-ParagraphFont: 'Playfair-Regular';
  --ff-LibreRegular: 'Libre-Regular';

  --clr-darkgrey: #3E3E3E;
  --clr-beige: #EBE1D7;
  --clr-orange:#CC7F37;
  --clr-black: #191919;
  --clr-lightbeige: #EFE7DE;
  --clr-lighterbeige: #F2ECE5;
  --clr-lightgrey: #7E7E7E;
  --clr-white: white;


}

html {
    box-sizing: border-box;
    font-size: 16px;
    /* scroll-snap-type: y mandatory; */
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
body{
    margin: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background-color: var(--clr-white);
    max-width: 90vw;
    margin-inline: auto;
}


/*--------- LANDING PAGE -----------*/

/*landingpage container*/
.landingpage{
    background-image: url(Poze/landing-background.jpg);
    background-size: cover;
    height: 100vh;
    mix-blend-mode: multiply;
    position: relative;
    scroll-snap-align: start;
}
.landinglinks{
  width: auto;
  animation: paraintro 2s ease-in-out;
  color: var(--clr-darkgrey);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  margin: 0 auto;
}
.grid-container{
  height: 100%;
  display: grid;
  grid-template-rows: 2fr 1fr;
  mix-blend-mode: multiply;
}
.drawinglogo{
  mix-blend-mode: multiply;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  animation: slidephoto 1s ease-in-out;
}
.imagine-logo{
  display: block;
  z-index: 1;
  width: clamp(26rem,50vw,30rem);
}
.imagine-logo02{
  display: block;
  margin: auto;
  z-index: 1;
  width: 100%;
}
@keyframes slidephoto{
  0%{
    transform: translateY(-15%);
    opacity: 0%;
  }
  100%{
    transform: translateY(0);
    padding-top: 20vh;
    
  }
}
/* @keyframes slidetext{
  0%{
    top: 8rem;
    opacity: 0%;
  }
  100%{
    top: 5rem;
    opacity: 1;
  }
} */
/*-----------------------------------*/

/*landingpage headings and paragraphs*/
.landingpage-heading{
  margin:0;
  font-family: var(--ff-PlayfairBold);
  font-size: 1.3rem;
  color: #3E3E3E;
  line-height: 1;
  letter-spacing: 0.3rem;
  animation: textintro 1s ease-in-out;
}

.landingpage-paragraph{
  font-family: var(--ff-ParagraphFont);
  font-size: 1rem;
  color: #3E3E3E;
  animation: paraintro 2s ease-in-out;
  margin: 0;
}
/*-----------------------------------*/

.titlu{
  text-align: center;
  font-family: var(--ff-TitleFont);
  line-height: 1.7rem;
  font-size: 1.5rem;
  padding-bottom: 3rem;
  display: grid;
  grid-template-rows: 1.5rem 1.5rem 6rem;
  align-items: center;
  justify-content: center;
  position: relative;
}

@keyframes textintro{
  0%{
    letter-spacing: 0.6rem;
    opacity: 0%;
  }
  100%{
    letter-spacing: 0.3rem;
    opacity: 100%;
  }
}
@keyframes paraintro{
  0%{
    opacity: 0%;
  }
  50%{
    opacity: 0%;
  }
  100%{
    opacity: 100%;
  }
}
/*
@media screen and (max-width:1000px){
  h1{
    font-size: 2.4vw;
  }
  p{
    font-size: 2vw;
  }
  .titlu{
    line-height: 1.5em;
    padding-bottom: 25vh;
  }
  .poza1{
    padding-top: 30vh;
  }
  @keyframes slidephoto{
    0%{
      padding-top: 10vh;
      opacity: 0%;
    }
    100%{
      padding-top: 30vh;
      opacity: 100%;
    }
  }
}
@media screen and (max-height:500px){
  h1{
    font-size: 2.4vh;
  }
  p{
    font-size: 2vh;
  }
  .titlu{
    line-height: 0.5em;
    padding-bottom: 20vh;
  }
  .poza1{
    padding-top: 15vh;
  }
  @keyframes slidephoto{
    0%{
      padding-top: 5vh;
      opacity: 0%;
    }
    100%{
      padding-top: 15vh;
      opacity: 100%;
    }
  }
}
*/

/* --------MAIN PAGE-------- */

/* NavBar */

.sectionTitle{
  font-family: var(--ff-ParagraphFont);
  color: var(--clr-darkgrey);
  font-size: 1rem;
  /* border-bottom: 1px solid #3E3E3E; */
  background-color: var(--clr-white);
  display: flex;
  justify-content: space-between;
  align-items: end;
  position: sticky;
  top: 2rem;
  height: 3rem;
  z-index: 1;
  width: 100%;
  letter-spacing: -0.03rem;
}
.svg-logo{
  height: 2rem;
}
#logo-title{
  width: max-content;
  font-family: var(--ff-ParagraphFont);
  font-size: 1rem;
  padding-left: 0.25rem;
  margin-left: -0.75rem;
}

.header-sectiontitle-03{
  width: fit-content;
  display: flex;
  align-items: end;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  text-decoration: none;
}
.header-link{
  display: flex;
  align-items: end;
  position: absolute;
  right: 0;
  bottom: 0;
}
.titleParagraph{
  margin:0;
  line-height: 1;
}
.link-header{
  display: flex;
  align-items: end;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  padding-bottom: 0.125rem;
  font-family: var(--ff-ParagraphFont);
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 0;
  text-decoration: none;
  color: var(--clr-lightgrey);
  transition: all 500ms;
}
.imaginelogo{
  width: 55px;
  height: 30px;
}

/* -------end nav bar-------- */


/* headings and paragraph settings*/

.titleheading{
  font-family: var(--ff-PlayfairBold);
  color: white;
  font-size: 5vh;
}
.inline-link{
  color: var(--clr-black);
  text-decoration: none;
  transition: 0.3s;
  font-family: var(--ff-ParagraphFont);
  margin-bottom: 0;
}
.link-simplu:hover{
  color: #3E3E3E;
}
.inline-link:hover{
  color: var(--clr-orange);
}
.link-header:hover{
  color: #3E3E3E;
}
.inline-link-logo{
  color: var(--clr-darkgrey);
  text-decoration: none;
  transition: 0.5s;
  font-family: var(--ff-ParagraphFont);
  display: block;
  display: flex;
  align-items: end;
  filter: grayscale(1);
}
.inline-link-logo:hover{
  color: #CC7F37;
  filter:saturate(1);
}
.inline-link-bottom{
  color: var(--clr-black);
  text-decoration: none;
  transition: 500ms;
  font-family: var(--ff-PlayfairBold);
}
.inline-link-bottom:hover{
  color: #CC7F37;
}
#logo-title{
  width: max-content;
  font-family: var(--ff-ParagraphFont);
  font-size: 1rem;
  padding-left: 0rem;
}
.nochange-link{
  text-decoration: none;
  color: var(--clr-lightgrey);
  transition: 500ms;
}
/* --------------------------*/
.mainpage{
  /* border: 3px solid lightsteelblue; */
  background-color: var(--clr-white);
  scroll-snap-align: start;
  height: 100vh;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}
.mainpagecontainer{
  margin-top: 8rem;
  height: 65vh;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 50%;
  border-right: 1px solid var(--clr-lightgrey);
  /* border: 1px solid red; */
}
.mainpagecontainer::-webkit-scrollbar{
  display: none;
}
.imagine-proiecte{
  transition: all 1s;
  height: 100%;
  padding-right: 10px;
  object-fit: cover;
  width: 100%;
  filter: grayscale(100%);
  opacity: 0.9;
}
.slider-scrollbar{
  height: 24px;
  width: 60%;
  margin-top: 2rem;
  display: grid;
  place-items: center;
}
.scrollbar-track{
  height: 2px;
  width: 100%;
  background: #ccc;
  position: relative;
  border-radius: 10px;
}
.scrollbar-thumb{
  background: var(--clr-darkgrey);
  position: absolute;
  width: 25%;
  height: 100%;
  border-radius: inherit;
}

.navbar{
  font-family: var(--ff-TitleFont);
  grid-area: item1;
  border-bottom: 1px solid black;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  letter-spacing: 0.1vw;
  font-size: 3vw;
}
/* ------------MEDIA QUERRIES------------- */

@media all and (max-width:800px){
  html{
    font-size: 12px;
  }
.landingpage-heading{
  font-size: 1rem;
  letter-spacing: 0.2rem;
}
.mainpagecontainer{
  grid-auto-columns: 100%;
  height: 75vh;
}
.hideText{
  display: none;
}
#card02{
  padding-left: 1px;
}
@keyframes textintro{
  0%{
    letter-spacing: 0.4rem;
    opacity: 0%;
  }
  100%{
    letter-spacing: 0.2rem;
    opacity: 100%;
  }
}
.landingpage-paragraph{
  font-size: 0.9rem;
}
}
@media all and (max-width:43rem){
  html{
    font-size: 12px;
  }
  .header-sectiontitle{
    display: none;
  }
}


/* -------------CARDS WITH THE PROJECTS------------ */

@media all and (max-height:30rem){
.project-card-container{
  position: relative;
}
html{
  font-size: 12px;
}
.imagine-logo{
  display: block;
  width: clamp(18rem,40vw,23rem);
}
@keyframes slidephoto{
  0%{
    transform: translateY(-10%);
    opacity: 0%;
  }
  100%{
    transform: translateY(0);
    padding-top: 10vh;
  }
}
}

.project-heading{
  font-family: var(--ff-LibreBold);
  font-size: 3rem;
  color: var(--clr-lightgrey);
  width: 100%;
  line-height: 0.9;
  transition: all 0.5s;
}
.project-heading-bottom{
  font-family: var(--ff-LibreBold);
  font-size: 3rem;
  color: var(--clr-orange);
  width: 100%;
  line-height: 0.9;
  transition: all 0.5s;
}

.headingTitle{
  font-family: var(--ff-PlayfairBold);
  font-size: 2rem;
  color: var(--clr-lightgrey);
  transition: all 0.5s;
}
.sectionheading{
  font-family: var(--ff-PlayfairBold);
  border-bottom: 1px solid #3E3E3E;
  font-size: 1rem;
  color: var(--clr-lightgrey);
  margin: 0;
  margin-bottom: 0.5rem;
  transition: all 0.5s;
}

.sectionparagraph{
  font-family: var(--ff-ParagraphFont);
  font-size: 1rem;
  color: var(--clr-lightgrey);
  max-width: 100%;
  transition: all 0.5s;
}
#sp01{
  color: var(--clr-darkgrey);
}

/* -----------END CARDS----------- */

/* --------HOVER EFFECTS----------- */
.imagine-proiecte:hover {
  filter: saturate(1);
  opacity: 1;
  /* transform: translateY(-5%); */
}
.project-card-container:hover svg.sageata{
  color: #3E3E3E;
}
.project-card-container:hover *{
  color: var(--clr-darkgrey);
}
/* ------------END HOVER EFFECTS------- */

/* ----------MEDIA QUERRIES FOR MOBILE------------ */

@media (hover:none) {
  .project-heading{
    color: var(--clr-darkgrey);
  }
  .headingTitle{
    color: var(--clr-darkgrey);
  }
  .sectionheading{
    color: var(--clr-darkgrey);
  }
  
  .sectionparagraph{
    color: var(--clr-darkgrey);
  }
  .imagine-proiecte{
    opacity: 1;
    filter: saturate(1);
  }
  svg.sageata{
    color: var(--clr-darkgrey);
  }
  .nochange-link{
    color: var(--clr-darkgrey);
  }
}
/* end media querries for mobile */



  /* ---------footers----------- */
  .bottom-link{
    font-family: var(--ff-LibreBold);
    color: var(--clr-lightgrey);
    margin-top: 4rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
    padding-inline: 2rem;
    margin-inline: auto;
    border-bottom: 1px solid #7E7E7E;
    border-top: 1px solid #7E7E7E;
    position: relative;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 15% 60% auto;
    scroll-snap-align: end;
  }
  #bottomimg03{
    display: block;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    width: clamp(11rem,20vw,14rem);
  }
  #bt-link-container02{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    width: 80%;
    height: 100%;
  }
  #bt-link-container01{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .project-heading-bottom{
    margin: 0;
    font-family: var(--ff-PlayfairBold);
    margin-bottom: 1rem;
  }
  @media all and (max-width:40rem){
    .bottom-link{
      display: grid;
      grid-template-rows: 13rem auto;
      grid-template-columns: 1fr 1fr;
    }
    #bt-link-container01{
      grid-row: 1/2;
      grid-column: 1/2;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    #bt-link-container02{
      grid-row: 2/3;
      grid-column: span 3;
      width: 100%;
    }
    #bottomimg03{
      grid-row: 1/2;
      grid-column: span 2;
      height: 100%;
      width: auto;
      margin: auto;
    }
  }
  @media all and (max-width:60rem) and (min-width:40rem){
    .bottom-link{
      display: grid;
      grid-template-columns: 20% 55% auto;
    }
  }
  .bottomimg{
    mix-blend-mode: multiply;
    width: clamp(6rem,10vw,8rem);
  }

  .link-simplu{
    font-family: var(--ff-ParagraphFont);
    font-size: 1rem;
    max-width: 15rem;
    text-decoration: none;
    color: var(--clr-lightgrey);
    transition: all 500ms;
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    position: absolute;
    bottom: -1.125rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .link-simplu-landingpg{
    font-family: var(--ff-ParagraphFont);
    font-size: 1rem;
    max-width: 15rem;
    text-decoration: none;
    color: var(--clr-lightgrey);
    transition: all 500ms;
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
  }
  svg.arrow{
    display:inline-block;
    vertical-align: middle;
    margin-inline: auto;
  }
  .link-simplu:hover{
    color: var(--clr-darkgrey);
  }
  .link-simplu-landingpg:hover{
    color: var(--clr-darkgrey);
  }
  .footer{
    font-family: var(--ff-LibreRegular);
    color: var(--clr-lightgrey);
    padding-top: 3rem;
    margin-bottom: 2rem;
    font-size: 0.7rem;
    /* display: grid;
    grid-template-columns: 70% 30%;
    align-items: center;
    justify-content: start; */
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .social-links{
    display: flex;
    justify-content: end;
    gap: 2rem;
    color: var(--clr-lightgrey);
  }
  svg.copyright{
    display:inline-block;
    vertical-align: middle;
  }